#define _CRT_SECURE_NO_WARNINGS 1
#include "Sort.h"

void test()
{
	int a[10] = { 5, 8, 1, 4, 6, 7, 2, 9, 3, 10 };
	//QuickSort(a, 0, 9);
	//QuickSortNonR(a, 0, 9);
	//HeapSort(a, 10);
	MergeSort(a, 0, 9);
	for (int i = 0; i <= 9; i++) std::cout << a[i] << " ";
	std::cout << std::endl;
}

int main()
{
	test();

	return 0;
}

